for i in range(5,10):
    if i<10:
        print("i=",i)
        i+=1
    else:
        break
